<?php
/**
 * Created by PhpStorm.
 * User: jungshen
 * Date: 2018/8/6
 * Time: 15:47
 */

namespace app\api\validate;


use think\Validate;

class AuthenticationPerson extends Validate
{
    protected $rule = [
        'name|姓名'  =>  'require|max:10',
        'card_num|身份证号码' =>  'require|idCard',
        'mobile|手机号' =>  'require|mobile',
        'desc|认证信息' =>  'require',
        'hand_card|手持身份证' =>  'require|url',
        'card_back|身份证国徽面' =>  'require|url',
    ];
}